package com.ev.mes.domain;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 文件名称： com.ev.mes.domain.MaterielPatrolDO.java</br>
 * 初始作者： ev-monitor</br>
 * 创建日期： 2020-06-16 10:00:11</br>
 * 功能说明： 物料质量巡检 <br/>
 * =================================================<br/>
 * 修改记录：<br/>
 * 修改作者        日期       修改内容<br/>
 * ================================================<br/>
 * Copyright (c) 2020-2021 .All rights reserved.<br/>
 */
@Data
@ApiModel(value = "物料质量巡检")
public class MaterielPatrolDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
    @ApiModelProperty(value = "")
	private Long id;
	//单据编号*
    @ApiModelProperty(value = "单据编号*")
	private String code;
	//巡检部门*
    @ApiModelProperty(value = "巡检部门*")
	private Long patrolDeptId;
	//巡检人*
    @ApiModelProperty(value = "巡检人*")
	private Long patrolUserId;
	//生产部门*
    @ApiModelProperty(value = "生产部门*")
	private Long productionDeptId;
	//产品ID*
    @ApiModelProperty(value = "产品ID*")
	private Long materielId;
	//批号
    @ApiModelProperty(value = "批号")
	private String batch;
	//检验方案
    @ApiModelProperty(value = "检验方案")
	private Long checkPlanId;
	//检验数量*
    @ApiModelProperty(value = "检验数量*")
	private BigDecimal checkCount;
	//合格数量*
    @ApiModelProperty(value = "合格数量*")
	private BigDecimal qualifiedCount;
	//不合格数量
    @ApiModelProperty(value = "不合格数量")
	private BigDecimal unqualifiedCount;
	//报废数量
    @ApiModelProperty(value = "报废数量")
	private BigDecimal wasteCount;
	//工废数量
    @ApiModelProperty(value = "工废数量")
	private BigDecimal industrialWasteCount;
	//料废数量
    @ApiModelProperty(value = "料废数量")
	private BigDecimal scrapWasteCount;
	//整改意见*
    @ApiModelProperty(value = "整改意见*")
	private String rectifyComments;
	//审核人员
    @ApiModelProperty(value = "审核人员")
	private Long auditor;
	//单据状态
    @ApiModelProperty(value = "单据状态")
	private Long status;
	//审核时间
    @ApiModelProperty(value = "审核时间", example = "2020-06-16 10:00:11")
	private Date auditTime;
	//创建人
    @ApiModelProperty(value = "创建人", hidden = true)
	private Long createBy;
	//创建时间
    @ApiModelProperty(value = "创建时间", example = "2020-06-16 10:00:11", hidden = true)
	private Date createTime;
	//修改人
    @ApiModelProperty(value = "修改人", hidden = true)
	private Long updateBy;
	//修改时间
    @ApiModelProperty(value = "修改时间", example = "2020-06-16 10:00:11", hidden = true)
	private Date updateTime;
	//删除状态
    @ApiModelProperty(value = "删除状态", hidden = true)
	private Integer delFlag;

}
